\documentclass[10pt, a4paper]{article}
\usepackage[paper=a4paper, left=1.5cm, right=1.5cm, bottom=1.5cm, top=3.5cm]{geometry}
\usepackage[latin1]{inputenc}
%\usepackage[utf8x]{inputenc}
\usepackage[spanish]{babel}
\usepackage{aed2-symb,aed2-itef,aed2-tad}
\usepackage{caratula}
\usepackage{fancyhdr}
\usepackage{latexsym}
\usepackage{lastpage}
\usepackage{calc}
\usepackage{clrscode3e} % Biblioteca para generar los algoritmos
\usepackage{xifthen} % Para poder agregar operaciones condicionales dentro del código


\newcommand{\parametro}[3]{\textbf{#1}\ \variableConTipo{#2}{#3}}

\newcommand{\tipo}[1]{\mbox{\texttt{#1}}}

\newcommand{\variableConTipo}[2]{\textit{#1} : \tipo{#2}}

\newcommand{\complejidad}[2]{#1$\left( \mbox{#2}\right)$}

\newcommand{\encabezadoFuncion}[3]{{\textsc{#1}}({#2}) \ifthenelse{\isempty{#3}}{}{$\rightarrow$ \variableConTipo{res}{#3}}}

\newcommand{\interfaz}[9]{%
	%\indent {\textsc{#1}}({#2}) \ifthenelse{\isempty{#3}}{}{$\rightarrow$ \variableConTipo{res}{#3}} \\%
	\indent \encabezadoFuncion{#1}{#2}{#3}\\%
	\indent {\bf Pre $\equiv$} \{#4\} \\%
	\indent {\bf Post $\equiv$} \{#5\} \\%
	\indent {\bf Complejidad: } #6\ifthenelse{\isempty{#7}}{}{, #7} \\%
	\indent \textbf{Aliasing:} \ifthenelse{\isempty{#8}}{No hay.}{#8}\\
	\indent {\bf Descripci\'on: } #9 \\
}

\newcommand{\generos}[1]{\textbf{g\'eneros} #1}
\newcommand{\funcion}[1]{\textbf{funci\'on} #1}

\newenvironment{interfaces}[6] %
  {{\noindent\ignorespaces \textbf{interfaz \uppercase{#1}} \ifthenelse{\isempty{#2}}{}{(#2)}} \\ \\ %
    \indent \textbf{par\'ametros formales}\\ \phantom{parametros }#3 \\ %
    \indent \textbf{usa:} \textsc{#4} \\
    \indent \textbf{se explica con:} \textsc{#5} \\
    \indent \textbf{g\'enero:} #6 \\
    \indent \textbf{operaciones:} \\ \\
  } %
  {\textbf{fin interfaz}}

\newcommand{\elementoTupla}[2]{\indent \variableConTipo{#1}{#2}}

\newcommand{\tupla}[1]{$\langle$#1$\rangle$}

\newenvironment{definicionTupla} %
  {\texttt{tupla} $\langle$\\}
  {$\rangle$\\}

\newcommand{\representacion}[3] %
  {\noindent\texttt{#1} \textbf{#2} \ifthenelse{\isempty{#3}}{}{\texttt{#3}}}


\titulo{Trabajo Pr\'actico de Dise\~no\\AED2-TEG}
\materia{Algoritmos y Estructura de Datos II}
\grupo{Grupo 4}
\integrante{Cossio Mercado, Christian Gustavo}{000/00}{cgcossio@gmail.com}
\integrante{Martinez Soler, Rodrigo Miguel}{000/00}{miguelmsoler@gmail.com}
\integrante{Niikado, Marina Andrea}{711/07}{mariniik@yahoo.com.ar}
\integrante{Palladino, Patricio}{218/10}{email@patriciopalladino.com}

\def\contentsname{\'Indice}

\begin{document} 

    \maketitle

    \tableofcontents

    \pagestyle{fancy}
    \lhead{Cossio Mercado, Martinez Soler, Niikado, Palladino}
    \rhead{AED2-TEG}

    \newpage

\include{moduloTablero}
\include{moduloJuego}
\include{moduloDiccTries}
%\include{moduloJugadorFichas}
%\include{moduloColaDePrioridadModificable}
\include{moduloDiccAcotado}
\include{moduloMulticonjunto}
    
\end{document}
